<?php include "funct.php";

?>
<!DOCTYPE html>
<html lang="en">
	<head>
		<title><? echo $lang['name_site'] . ' - ' . $lang["index"]; ?></title>
		<link href="stil.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="./bibleoteci/jquery-1.7.1.min.js"></script>
		<script type="text/javascript" src="./bibleoteci/jquery-ui-1.8.17.custom.min.js"></script>
		<script type="text/javascript" src="funct.js"></script>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
		<meta name="description" content="Battles" /> 
		<meta name="keywords" content="game, battles" />
		<link rel="shortcut icon" href="" type="image/x-icon" />
		<style>
			body{
				color: #fff;
				font-family: Arial;
			}
		</style>
	</head>
	<body class="q_body">
		<img src="imagini/bg_login.png" style="position: fixed; top: 0; left: 0; width:100%; height:100%"/>
		<div class="invelis_register">
			<img src="imagini/box_register.png" style="width: 600pt; height: 400pt; margin:0 auto;" />
			<img src="imagini/dissbattlev_logo.png" style="position: absolute; left:10pt; top: 10pt; width: 150pt; height: 80pt;" />
			<font class="mesaj" id="mesaj1">
			<?
			if (isset($_SESSION["mesaj"]))
				if (strlen($_SESSION["mesaj"]) > 0)
					echo clean($_SESSION["mesaj"]);
			$_SESSION["mesaj"] = "";
			?>
			<script type="text/javascript">efect_mesaj("mesaj1");</script>
			</font>
			<div id="register_i">
				<form action="register.php" method="post">
					<table>
						<tr>
							<td style="text-align:left;">
<? echo $lang["name"] ?>: 
							</td>
							<td>
								<input type="text" name="nume" id="nume" onchange="javascript:verifica_r(this);" onkeyup="javascript:verifica_r(this);" onkeydown="javascript:verifica_r(this);" class="input" placeholder="<? echo $lang["name"]; ?>..." />
							</td>
							<td style="width:30pt;">
								<img src="imagini/error.png" id="nume1" />
							</td>
						</tr>
						<tr>
							<td style="text-align:left;">
<? echo $lang["password"] ?>: 
							</td>
							<td>
								<input type="password" name="parola1" id="parola1" onchange="javascript:verifica_r(this);" onkeyup="javascript:verifica_r(this);" onkeydown="javascript:verifica_r(this);" class="input" placeholder="<? echo $lang["password"]; ?>..."/>
							</td>
							<td>
								<img src="imagini/error.png" id="parola11" />
							</td>
						</tr>
						<tr>
							<td style="text-align:left;">
<? echo $lang["r_password"] ?>: 
							</td>
							<td>
								<input type="password" name="parola2" id="parola2" onchange="javascript:verifica_r(this);" onkeyup="javascript:verifica_r(this);" onkeydown="javascript:verifica_r(this);" class="input" placeholder="<? echo $lang["r_password"]; ?>..."/>
							</td>
							<td>
								<img src="imagini/error.png" id="parola21" />
							</td>
						</tr>
						<tr>
							<td style="text-align:left;">
<? echo $lang["email"] ?>: 
							</td>
							<td>
								<input type="email" name="mail" id="mail" class="input" onchange="javascript:verifica_r(this);" onkeyup="javascript:verifica_r(this);" onkeydown="javascript:verifica_r(this);" placeholder="example@example.com..." />
							</td>
							<td>
								<img src="imagini/error.png" id="mail1" />
							</td>
						</tr>
						<tr>
							<td style="text-align:left;">
<? echo $lang["birtday"] ?>: 
							</td>
							<td>
								<input type="text" name="day" id="day" onchange="javascript:verifica_r(this);" onkeyup="javascript:verifica_r(this);" onkeydown="javascript:verifica_r(this);" id="day" class="input" placeholder="ZZ" style="width:30pt;" maxlength="2" />
								<input type="text" name="month" id="month" onchange="javascript:verifica_r(this);" onkeyup="javascript:verifica_r(this);" onkeydown="javascript:verifica_r(this);" id="month" class="input" placeholder="MM" style="width:30pt;" maxlength="2" />
								<input type="text" name="year" id="year" onchange="javascript:verifica_r(this);" onkeyup="javascript:verifica_r(this);" onkeydown="javascript:verifica_r(this);" id="year" class="input" placeholder="AAAA" style="width:40pt;" maxlength="4" />
							</td>
							<td>
								<img src="imagini/error.png" id="birday1" />
							</td>
						</tr>
						<tr><td colspan="2"><br/><font style="font-size: 10pt;"><? echo $lang["agree"]; ?></font><input type="checkbox" name="agree" value="1"></td></tr>
						<tr><td colspan="2"><input type="submit" class="buton" value="Register" /></td></tr>
					</table>
				</form>
			</div>
		</div>
	</body>
</html>
